﻿@model Core.Models.ResetPasswordAnswerModel

@{
    ViewBag.Title = "ResetPasswordAnswer";
    Layout = ((Core.Models.Theme)Session["Theme"]).Layout;
}

<h2>Reset Password</h2>
@Html.ValidationSummary(true, "Please correct the following errors and try again.")

@using (Html.BeginForm())
{
    <div>
        <fieldset>

            <div class="editor-label">
                @Html.LabelFor(m => m.Email)
                @Html.DisplayTextFor(m => m.Email)
            </div>
            <div class="editor-field">
                @Html.HiddenFor(m => m.Email)
            </div>

            <div class="editor-label">
                @Html.DisplayTextFor(m => m.Question)
            </div>
            <div class="editor-field">
                @Html.HiddenFor(m => m.Question)
                @Html.TextBoxFor(m => m.SecurityAnswer)
                @Html.ValidationMessageFor(m => m.SecurityAnswer)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Password)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.Password)
                @Html.ValidationMessageFor(m => m.Password)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.ConfirmPassword)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword)
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </div>
            <p>
                <input type="submit" value="Reset Password" />
            </p>
        </fieldset>
    </div>
}

